<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- Copyright the Rubicon Project 2010 -->
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title></title>
</head>
<body>
<script type="text/javascript">

	// http://tap.rubiconproject.com/partner/agent/rubicon/channels.js?cb=oz_onPixelsLoaded
	function oz_onPixelsLoaded(profile) {
		if (profile && profile.pixels) {
			var uri;
			for (var i=0; i < profile.pixels.length; i++) {
				uri = profile.pixels[i].url;
				if (uri && (uri.indexOf("http:") == 0)) {
					new Image().src = uri;
				}
			}
		}
	}
	
	function setCookie(name,value,days) {
		var expires ;
		if (days) {
			var date = new Date();
			date.setTime(date.getTime()+(days*24*60*60*1000));
			expires = "; expires="+date.toGMTString();
		}
		else expires = "";
		document.cookie = name+"="+escape(value)+expires+"; path=/";
	}
	
	function readCookie(name) {
		var nameEQ = name + "=";
		var ca = document.cookie.split(';');
		for(var i=0;i < ca.length;i++) {
			var c = ca[i];
			while (c.charAt(0)==' ') 
				c = c.substring(1,c.length);
			if (c.indexOf(nameEQ) == 0) 
				return unescape(c.substring(nameEQ.length,c.length));
		}
		return null;
	}
	
	function addScriptAsync(url,id)
	{
		var script;
		script = document.createElement("script");
		if (id)
			script.setAttribute("id",id);
		script.setAttribute("type","text/javascript");
		url = url.replace(/\s/g,'+');
		script.setAttribute("src",url);

		document.getElementsByTagName("head").item(0).appendChild(script);
	}

	function addScript(url,id)
	{
		var html = '<scr'+'ipt type="text/javascript" SRC="'+url+'"></scr'+'ipt>';
		document.write(html);
	}
	
	function mergeProperties(dest,defaults)
	{
		if (typeof(dest) == "undefined" || !dest)
			return defaults;

		if (typeof(defaults) == "undefined" || !defaults)
			return dest;

		for (var name in defaults)
		{
			if (!defaults.hasOwnProperty(name))
				continue;
			if (typeof dest[name] == "undefined")
				dest[name] = defaults[name];
		}
		return dest;
	}

	var rtb_sync = {};
	var rtb_site_sync = {};
	var rtb_pixel_set = ["rtb","aud","nets","pubs"];
	var request_region = "au";
	var request_country = "in";
	

	rtb_pixel_set = ["rtb","rtb_ext","aud","nets","pubs"];



	rtb_sync = {"ttl":14,"sample":100,"max_pixels":4,"pixel_sets":{"rtb":{"sample":100,"pixels":{"1185":{"pingdom_id":"399235","ttl":7,"iframe":"http://ad.turn.com/server/pixel.htm?fpid=6&sp=y","partner":"turn"},"2100":{"pingdom_id":"399228","img":"http://cm.netseer.com/redirect?ex=11","partner":"netseer"},"1512":{"pingdom_id":"399231","ttl":7,"img":"http://sync.mathtag.com/sync/img?mt_exid=9","partner":"mediamath"},"1902":{"pingdom_id":"399224","ttl":7,"img":"http://pixel.quantserve.com/pixel/p-e4m3Yko6bFYVc.gif?idmatch=0","partner":"quantcast"},"1430":{"pingdom_id":"399236","img":"http://a.triggit.com/pxrucm","partner":"triggit"},"1994":{"pingdom_id":"399239","img":"http://map.media6degrees.com/orbserv/hbpix?pixId=4857","partner":"media6degrees"},"1197":{"pingdom_id":"399234","img":"http://user.lucidmedia.com/clicksense/user?p=9ce688505699aefa&r=1","partner":"lucidmedia"},"1986":{"pingdom_id":"399240","ttl":7,"img":"http://ib.adnxs.com/getuidnb?http%3A%2F%2Fpixel.rubiconproject.com%2Ftap.php%3Fv%3D4894%26nid%3D1986%26put%3D$UID%26expires%3D30","partner":"appnexus"},"w55c":{"pingdom_id":"399222","ttl":7,"sample":100,"img":"http://i.w55c.net/ping_match.gif?ei=RUBICON&rurl=http%3A%2F%2Fpixel.rubiconproject.com%2Ftap.php%3Fv%3D4210%26nid%3D1523%26put%3D_wfivefivec_%26expires%3D10","partner":"dataxu"},"2084":{"pingdom_id":"399223","img":"http://pcm3.map.pulsemgr.com/uds/pc?ptnr=21280&sig=6f737abf3f6bb5f84a1ad1dc0be05ab8","region":"na","partner":"buysight"},"2132":{"pingdom_id":"399225","img":"http://um.simpli.fi/rb_match","partner":"simpli.fi"},"2081":{"pingdom_id":"399219","img":"http://m.xp1.ru4.com/activity?_o=62795&_t=cm_rub_pre","partner":"xplusone"},"2025":{"pingdom_id":"399233","img":"http://www.wtp101.com/pull_sync?pid=rubicon","partner":"adnetik"},"2101":{"pingdom_id":"399226","iframe":"http://tap.rubiconproject.com/oz/feeds/invite-media-rtb/tokens/?rt=iframe","partner":"invitemedia","old_sample":100},"2249":{"pingdom_id":"399227","img":"http://cm.g.doubleclick.net/pixel?google_nid=rubicon&google_cm&google_sc","partner":"invitemedia"},"2046":{"pingdom_id":"399237","ttl":7,"img":"http://tap.rubiconproject.com/oz/feeds/dotomi-rtb/tokens/?rt=pixel","partner":"dotomi"},"2211":{"pingdom_id":"399230","sample":0,"img":"http://matcher-rbc.bidder7.mookie1.com/do-association?rbc&can=20","partner":"mig"},"2245":{"pingdom_id":"399220","img":"http://rc.d.chango.com/m/rc","partner":"chango"},"2271":{"pingdom_id":"399241","img":"http://rp.gwallet.com/r1/ruum","partner":"radiumone"},"2135":{"pingdom_id":"405200","img":"http://d5p.de17a.com/cookies/rubicon","partner":"adaction","country":["se","dk","nl"]},"2307":{"pingdom_id":"426695","img":"http://match.adsrvr.org/track/cmf/rubicon","partner":"thetradedesk"},"2147":{"pingdom_id":"426696","sample":0,"img":"http://ad.yabuka.com/px/rb.gif","partner":"yabuka"},"2323":{"pingdom_id":"437827","img":"http://relestar.com/cs?p=ri","partner":"relevad"},"2236":{"pingdom_id":"449220","sample":0,"img":"http://p.rightaction.com/px?t=5&x=3","partner":"rightaction"},"2395":{"pingdom_id":"514755","img":"http://px.owneriq.net/erb","partner":"owner-iq"},"2181":{"pingdom_id":"527817","img":"http://pixel.everesttech.net/1/gr?url=http%3a//pixel.rubiconproject.com/tap.php%3fv%3d11782%7c1%7c14%26nid%3d2181%26put%3d__EFGCK__%26expires%3d14","partner":"efrontier"},"2054":{"pingdom_id":"528872","img":"http://dis.criteo.com/dis/usersync.aspx?r=6&p=2&cp=rubiconus&url=http%3A%2F%2Fpixel.rubiconproject.com%2Ftap.php%3Fv%3D5421%26nid%3D2054%26put%3D%40%40CRITEO_USERID%40%40%26expires%3D30","region":"na","partner":"criteo-us"},"2494":{"pingdom_id":"532344","img":"http://um.eqads.com/rc.aspx","partner":"eq-ads"},"2146":{"pingdom_id":"548548","img":"http://extmap.rub.ace.advertising.com/cfcm.ashx?providerId=1007&extMatch=1","partner":"ad.com US, ad.com UK"},"2596":{"pingdom_id":"566988","img":"http://p.rfihub.com/cm?in=1&pub=64","partner":"rocketfuel"},"2260":{"pingdom_id":"587961","img":"http://rubicon-rtb.p.veruta.com/adserver/cookiematch?pnid=3000007","partner":"mybuys"},"2021":{"pingdom_id":"592793","img":"http://match.rtbidder.net/match?p=2","partner":"brandscreen"},"2528":{"pingdom_id":"624718","img":"http://pe.intentiq.com/profiles_engine/ProfilesEngineServlet?at=20&mi=10&dpi=54","partner":"intent-iq","country":"us"},"2687":{"pingdom_id":"624719","img":"http://connexity.net/c/cse?a=Q&B=17","partner":"connexity"},"2313":{"pingdom_id":"627391","img":"http://rbp.mxptint.net/rubicon.ashx?ver=1","partner":"max-point"},"2365":{"pingdom_id":"636551","img":"http://rc2waycm-atl.netmng.com/cm/","partner":"netmining","country":"us"},"2530":{"pingdom_id":"636727","img":"http://rubicon.admailtiser.com/match?mrbyus=true&excid=17","partner":"context-in"},"2238":{"pingdom_id":"643673","img":"http://pixel.sitescout.com/dmp/pixelSync?network=Rubicon","partner":"sitescout"},"2721":{"pingdom_id":"644605","img":"http://pixel.ad.mlnadvertising.com/rbu.ashx?p=1&redirect=http://pixel.rubiconproject.com/tap.php?v=14813&nid=2721&put={user_token}&expires=30","partner":"mln-advertising","country":"us"},"2760":{"pingdom_id":"659405","img":"http://x.bidswitch.net/sync?ssp=rubicon","partner":"iponweb-bidswitch"},"2731":{"pingdom_id":"662617","img":"http://i.ctnsnet.com/int/integration?pixel=303852&nid=302660","region":["eu","au"],"partner":"crimson-tangerine"},"2751":{"pingdom_id":"687813","img":"http://ads.p161.net/cmr","partner":"platform-161"},"2853":{"pingdom_id":"703174","sample":0,"img":"http://www.facebook.com/fr/x/rubicon","partner":"facebook"},"2820":{"pingdom_id":"704032","img":"http://pool-eu-ie.creative-serving.com/cmr","partner":"click-district"},"2676":{"pingdom_id":"714458","img":"http://track.adform.net/serving/cookie/match/?party=8","partner":"adform"},"2865":{"pingdom_id":"730866","ttl":7,"img":"http://sync.atomex.net/getuid?ag=RUBICON&url=http%3A%2F%2Fpixel.rubiconproject.com%2Ftap.php%3Fv%3D17169%26nid%3D2865%26expires%3D7%26put%3D%7CPIGGYBACK_COOKIE%7C","partner":"komli","country":["au","nz","in","id","my","sg"]},"2837":{"pingdom_id":"733980","img":"http://ads.heias.com/x/heias.match/?dpid=152&uid=RUBICON_USER_ID","partner":"adnologies"},"2867":{"pingdom_id":"772658","img":"http://r.254a.com/r_match","region":["eu"],"partner":"yd-display"},"2792":{"pingdom_id":"774544","img":"http://ad.12mnkys.com/gui/user/rubicon?v=32782&nid=2792","partner":"12mnkys","country":["de","at","fr","ch"]},"2911":{"pingdom_id":"775380","img":"http://pixel.adblade.com/usersyncrubicon.php","partner":"adblade","country":["us"]},"2950":{"pingdom_id":"779802","img":"http://pixel.tapad.com/idsync/ex/push?partner_url=http%3A%2F%2Fpixel.rubiconproject.com%2Ftap.php%3Fv%3D18014%26nid%3D2950%26put%3D%24%7BTA_DEVICE_ID%7D","partner":"tapad","country":["us"]},"2909":{"pingdom_id":"837444","ttl":30,"img":"http://rt.legolas-media.com/lgrt?ci=12&ti=64524&pbi=11056","region":["na","eu"],"partner":"legolas","country":["au","nz"]},"3032":{"pingdom_id":"870805","img":"http://uip.semasio.net/rubicon/1/rtb/match?v=33242&nid=3032&cburl=http://pixel.rubiconproject.com/tap.php?expires=30","partner":"semasio","country":["dk","de","fi"]},"2682":{"pingdom_id":"884964","img":"http://magnetic.t.domdex.com/sync/rubicon","partner":"magnetic","country":["us"]},"2534":{"pingdom_id":"885171","img":"http://rtb.metrigo.com/delivery/sync/rubicon/pixel_match","partner":"metrigo","country":["de"]}}},"rtb_ext":{"sample":100,"pixels":{"2211ext":{"pingdom_id":"399238","sample":50,"img":"http://matcher-rbc.bidder7.mookie1.com/do-association?rbc","partner":"mig"},"1523ext":{"pingdom_id":"399221","sample":50,"iframe":"http://cti.w55c.net/ct/rubicon-cms2.html","partner":"dataxu"},"2081ext":{"pingdom_id":"439290","sample":10,"iframe":"http://d.xp1.ru4.com/activity?_o=62795&_t=cm_rub_ex","partner":"xplusone"}}},"aud":{"sample":100,"pixels":{"liveramp":{"pingdom_id":"803045","sample":0,"img":"http://tap.rubiconproject.com/oz/feeds/rubicon-test/tokens/?rt=pixel","region":"na","partner":"liveramp"},"tgi":{"pingdom_id":"399232","sample":10,"img":"http://adadvisor.net/adscores/g.pixel?sid=9278242667","partner":"targus"},"exl":{"pingdom_id":"418697","sample":25,"img":"http://loadm.exelator.com/load/?p=204&g=141&j=0","partner":"exelate"},"bk":{"pingdom_id":"605728","ttl":4,"sample":50,"img":"http://tags.bluekai.com/site/6123?redir=http://tap.rubiconproject.com/oz/feeds/bluekai/tokens?afu=$_BK_UUID","partner":"bluekai"},"aam":{"pingdom_id":"661320","ttl":14,"sample":5,"img":"http://dpm.demdex.net/ibs:dpid=481&dpuuid=&redir=http%3A%2F%2Ftap.rubiconproject.com%2Foz%2Ffeeds%2Fadobe%2Ftokens%3Fafu%3D%24%7BDD_UUID%7D","region":["na"],"partner":"adobe"},"rp":{"pingdom_id":"633079","ttl":1,"sample":100,"script":"http://tap.rubiconproject.com/partner/agent/rubicon/channels.js?cb=oz_onPixelsLoaded","partner":"rubicon"}}},"nets":{"sample":100,"pixels":{"1022":{"pingdom_id":"399862","ttl":2,"sample":1,"script":"http://ad.yieldmanager.com/imp?Z=1x1&B=10&u=&r=1&s=3519046","partner":"yahoo"},"1806":{"pingdom_id":"424014","ttl":7,"sample":0,"iframe":"http://c7.zedo.com/utils/rbC.html","partner":"zedo"},"2341":{"pingdom_id":"429656","ttl":1,"sample":5,"iframe":"http://rt.legolas-media.com/lgrt?ci=12&ti=7158&pbi=10875","region":["na"],"partner":"legolas"},"2317":{"pingdom_id":"434020","ttl":7,"sample":25,"iframe":"http://fei.pro-market.net/engine?site=129946;size=1x1;mimetype=img","region":["na"],"partner":"datonics"},"1217":{"pingdom_id":"558267","ttl":30,"sample":100,"img":"http://api.bizographics.com/v2/profile.redirect?api_key=d8635cdd75eb4f83917f2c953bc214f0&callback_url=http%3A%2F%2Ftap.rubiconproject.com/oz/feeds/bizo/profile%3F","region":["na"],"partner":"bizo"}}},"pubs":{"sample":0,"pixels":{}}},"notify":{"rubicon":{"sample":1,"img":"http://tap.rubiconproject.com/stats/rtbsync"}}} ;



	function loadExpiration()
	{
		var map = {};
		var c = readCookie("pux");
		if (!c)
			return map;
		
		var list = c.split("&");
		var name;
		var value;
		for (var i in list)
		{
			var parts = list[i].split("=");
			if (parts.length < 2)
				continue;
			name = parts[0];
			value = parts[1];
			var fields = value.split(",");
			if (fields.length > 0)
			{
				map[name] = { created : fields[0] };
			}
		}
		return map;
	}
	function saveExpiration(map)
	{
		var c="";
		for (name in map)
		{
			var info = map[name];
			
			c += name + "=";
			c += info.created;
			c += "&";
		}
		setCookie("pux",c,90);
	}

	function is_expired(ttl,info)
	{
		if (!info)
			return true;
		ttl = Number(ttl);
		
		var now = new Date().getTime() / (3600*1000);
		var then = new Date(2010,0,1,0,0,0,0).getTime() / (3600*1000);
		var expires = (new Number(info.created) + (ttl * 24));
		
		if ((now - then) < expires)
		{
			return false;
		}
		return true;		
	}
	function shouldFirePixel(pixel)
	{
		var info = expiration_info[pixel.nid];
		if (info && !is_expired(pixel.info.ttl || pixel.context.ttl || rtb_sync.ttl,info))
			return false;
		
		var sample = (pixel.info.sample == 0) ? pixel.info.sample : (pixel.info.sample || pixel.context.sample || rtb_sync.pixel_sample || 0) ;
		sample = Number(sample);	// do simple parsing
		
		if (!(Math.floor(Math.random()*100) < sample))
			return false;
		
		return true;
	}
	
	function firePixel(pixel)
	{
		var days = (pixel.info.ttl || pixel.context.ttl || rtb_sync.ttl || 14);
		var now_hours = Math.floor(new Date().getTime()/(3600*1000));
		var then = new Date(2010,0,1,0,0,0,0).getTime() / (3600*1000);

		expiration_info[pixel.nid] = { created : now_hours-then };
		
		if (pixel.info.img)
			new Image().src = pixel.info.img;
		if (pixel.info.iframe)
			document.write("<iframe src='"+pixel.info.iframe+"' width='1' height='1' frameborder='0'></iframe>");
		if (pixel.info.script)
			addScript(pixel.info.script);
	}

	// Fisher Yates
	function shuffle ( myArray ) 
	{
		  var i = myArray.length;
		  if ( i == 0 ) return false;
		  while ( --i ) 
		  {
			 var j = Math.floor( Math.random() * ( i + 1 ) );
			 var tempi = myArray[i];
			 var tempj = myArray[j];
			 myArray[i] = tempj;
			 myArray[j] = tempi;
		   }
		}
	
	var expiration_info;
	function array_contains(list,item)
	{
		for (e in list)
		{
			if (item == list[e])
				return true;
			
		}
		return false;
	}
	function doPixels()
	{
		var allFired=true;
		var pixels=new Array();
	
		expiration_info = loadExpiration();
		
		// check for 'cookies enabled'
		if (!document.cookie || (document.cookie.length < 1)) 
		{
			setCookie("cd","false",365);
			return;
		} 
		
		// global throttle
		if (!(Math.floor(Math.random()*100) < Number(rtb_sync.sample)))
			return false;

		for (var i in rtb_pixel_set)
		{
			var name = rtb_pixel_set[i];
			var context = rtb_sync.pixel_sets[name];
			if (!context)
				continue;
			for ( nid in context.pixels )
			{
				var info = context.pixels[nid];

				// check for geo region limited scope
				if (request_region && info.region && (info.region != request_region && !array_contains(info.region,request_region)))
					continue;
				if (request_country && info.country && (info.country != request_country && !array_contains(info.country,request_country)))
					continue;

				// check to see if pixel is expired
				if (is_expired(info.ttl || context.ttl || rtb_sync.ttl,expiration_info[nid]) && (info.sample != 0))
				{
					pixels[pixels.length] = {nid: nid, info : info, context: context}; 
				}   
			}
		}
		allFired = (pixels.length == 0);

		shuffle(pixels);
		var max = rtb_sync.max_pixels || 1;
		for (var i in pixels)
		{
			var pixel = pixels[i];
			
			if (shouldFirePixel(pixel))
			{
				firePixel(pixel);
				max--;
				if (max <= 0)
					break;
			}
		}
		
		if (allFired)
		{
			var nid = "rubicon";
			var info = rtb_sync.notify[nid];
			var pixel = {nid : nid, info : info, context : rtb_sync};
			if (shouldFirePixel(pixel))
			{
				firePixel(pixel);
			}
		}
		saveExpiration(expiration_info);
	}

	doPixels();
			
</script>





</body></html>